Xbasic

OBJECT.QUERY_BY_EXPN Function

Syntax

.Query_by_expn([c filter_expn [,c order_expn [,c level ]]])

Arguments

filter_expn

A character filter expression that evaluates to a logical value. The default value for the Filter_Expression field in the Query by Expression dialog.

order_expn

Optional. Default = record order. A character order expression that sorts selected records and the default value for the Order_Expression field in the Query by Expression dialog.

level

Name of the primary table of the level.

Description

Displays the Query by Expression dialog.

The <OBJECT>.QUERY_BY_EXPN() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.QUERY_BY_EXPN() method displays the Query by Expression dialog.

Example

dim ptr as P
ptr = form.load("Customer Information")
ptr.Query_By_Expn()

Limitations

Desktop applications only.

See Also